MailPoet\Form\Block\BlockRendererHelper A

Total Complexity 75
Dependencies 3
Dependents 11
Total lines 292
Lines of code 234
Logical lines of code 132
Comment lines 13
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
getInputValidation()
B
38 16 63
renderLabel()
A
45 11 41
translateValidationErrorMessage()
S
56 7 18
renderLegend()
S
52 6 25
renderFontStyle()
S
61 6 11
renderInputPlaceholder()
S
59 4 15
getInputModifiers()
S
63 5 10
getFieldName()
S
63 4 10
getFieldLabel()
S
71 3 5
getFieldValue()
S
71 3 5
getFieldIsRequired()
S
71 3 5
getErrorsContainerClass()
S
64 3 10
escapeShortCodes()
S
65 2 8
__construct()
S
77 1 4
renderErrorsContainer()
S
74 1 4